package com.ztesoft.web.index.db.po;

import java.util.*;
import org.apache.commons.lang.StringUtils;
import com.ztesoft.framework.dto.AbstractDto;

public class WarningInfoPO extends AbstractDto{
	private Integer  warningId;
	private String  warningName;
	private String  warningLevel;
	private Integer  subSysId;
	private String  subSysName;
	private String  warningState;
	private String  warningReason;
	private String  warningCode;
	private String  warningType;
	private String  warningDesc;
	private Date  createdTime;
	private Date  recoverTime;
	
    /**
	 * @return the subSysName
	 */
	public String getSubSysName() {
		return subSysName;
	}
	/**
	 * @param subSysName the subSysName to set
	 */
	public void setSubSysName(String subSysName) {
		this.subSysName = subSysName;
	}
	public void setWarningId(Integer warningId) {
        this.warningId = warningId;
    }
    public Integer getWarningId() {
        return warningId;
    }
    public void setWarningName(String warningName) {
        this.warningName = warningName;
    }

    public String getWarningName() {
        return StringUtils.isBlank(warningName) ? warningName : warningName.trim();
    }
    public void setWarningLevel(String warningLevel) {
        this.warningLevel = warningLevel;
    }

    public String getWarningLevel() {
        return StringUtils.isBlank(warningLevel) ? warningLevel : warningLevel.trim();
    }
    public void setSubSysId(Integer subSysId) {
        this.subSysId = subSysId;
    }
    public Integer getSubSysId() {
        return subSysId;
    }
    public void setWarningState(String warningState) {
        this.warningState = warningState;
    }

    public String getWarningState() {
        return StringUtils.isBlank(warningState) ? warningState : warningState.trim();
    }
    public void setWarningReason(String warningReason) {
        this.warningReason = warningReason;
    }

    public String getWarningReason() {
        return StringUtils.isBlank(warningReason) ? warningReason : warningReason.trim();
    }
    public void setWarningCode(String warningCode) {
        this.warningCode = warningCode;
    }

    public String getWarningCode() {
        return StringUtils.isBlank(warningCode) ? warningCode : warningCode.trim();
    }
    public void setWarningType(String warningType) {
        this.warningType = warningType;
    }

    public String getWarningType() {
        return StringUtils.isBlank(warningType) ? warningType : warningType.trim();
    }
    public void setWarningDesc(String warningDesc) {
        this.warningDesc = warningDesc;
    }

    public String getWarningDesc() {
        return StringUtils.isBlank(warningDesc) ? warningDesc : warningDesc.trim();
    }
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }
    public void setRecoverTime(Date recoverTime) {
        this.recoverTime = recoverTime;
    }

    public Date getRecoverTime() {
        return recoverTime;
    }
}